package org.dstart.air.window.sub.draw
{
	import flash.display.Sprite;

	public class DrawCloseButton extends DrawSimpleButton
	{
		public function DrawCloseButton(baseColor:uint = 0x000000, overColor:uint = 0xCCCCCC)
		{
			super(baseColor, overColor);
		}
		
		protected override function DrawImage(spr:Sprite, col:uint):void
		{
			super.DrawImage(spr, col);	
			
			spr.graphics.lineStyle(3, col, 1);
			spr.graphics.moveTo(3, 3);
			spr.graphics.lineTo(11, 11);
			spr.graphics.moveTo(3, 11);
			spr.graphics.lineTo(11, 3);
		}	
	}
}